﻿using ETask.Api.Dtos;
using ETask.Api.Models;

namespace ETask.Api.Services
{
    public interface ITaskFileService:IGenericService<TaskFile,TaskFileDto,CreateTaskFileDto,UpdateTaskFileDto>
    {
        Task<List<TaskFileDto>> GetListByFolderIdAsync(string folderId);

        Task<ApiResponse> Upload(IFormFile formFile,string folderId = "");

        Task<ApiResponse> DelByFileId(int fileId);

        Task<ApiResponse> DeleteByFolderId(string folderId);

    }
}
